I'm trying to determine how to set axis parameters (counts per inch, velocity, etc) programmatically with KMotion_dotNet.
The KMotion.Net doc talks about the KM_MotionParams class, which seems to be the object that can contain the information, but I can find no references to it (by index or Search) that actually pass or set it to the controller. The KM_CoordMotion seems to be
able to read the MotionParams (read only) and has a SetTPParams() method which does not take any args.
--
sam marrocco | chief technical officer ringside.cutters.picnic.moonlink 248 548 2500 w
248 910 3344 c ringsidecreative.com
Group: DynoMotion
Message: 9656
From: Tom Kerekes
Date: 6/13/2014
Subject: Re: Setting MotionParams in dotnet
Hi Sam,
You should be able to set them with something like:
The SetTPParams() is what processes the current parameter setting for use by the Trajectory Planner. This should be automatically handled by the .NET property Setter so you shouldn't have to worry about it.
HTH
Regards
TK
Group: DynoMotion
Message: 9657
From: Sam Marrocco
Date: 6/13/2014
Subject: Re: Setting MotionParams in dotnet
On 6/13/2014 4:36 PM, Tom Kerekes
tk@... [DynoMotion] wrote:
Hi Sam,
You should be able to set them with something like:
The SetTPParams() is what processes the current parameter setting for use by the Trajectory Planner. This should be automatically handled by the .NET property Setter so you shouldn't have to worry about it.
Thanks. That explains why I couldn't find anything being passed the object. I can set the parameters individually.
--
sam marrocco | chief technical officer ringside.cutters.picnic.moonlink 248 548 2500 w
248 910 3344 c ringsidecreative.com